import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import login from '@/views/login'
import home from '@/views/home'
import topic from '@/views/topic'
import contactus from '@/views/contactus'
import classification from '@/views/classification'
import practiceList from '@/views/practiceList'
import practiceTest from '@/views/practiceTest'
import examinationPage from '@/views/examinationPage'
import errorOrCollectTopic from '@/views/errorOrCollectTopic'
import errorOrCollectTest from '@/views/errorOrCollectTest'

Vue.use(Router)

export default new Router({
	routes: [
		{
			path: '/',
			name: 'login',
			component: login
		},
		{
			path: '/home',
			name: 'home',
			component: home
		},
		{
			path: '/topic',
			name: 'topic',
			component: topic
		},
		{
			path: '/contactus',
			name: 'contactus',
			component: contactus
		},
		{
			path: '/classification',
			name: 'classification',
			component: classification
		},
		{
			path: '/practicelist',
			name: 'practicelist',
			component: practiceList
		},
		{
			path: '/practicetest',
			name: 'practicetest',
			component: practiceTest
		},
		{
			path: '/examinationpage',
			name: 'examinationPage',
			component: examinationPage
		},
		{
			path: '/errororcollecttopic',
			name: 'errororcollecttopic',
			component: errorOrCollectTopic
		},
		{
			path: '/errororcollecttest',
			name: 'errororcollecttest',
			component: errorOrCollectTest
		}
	]
})
